﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BestTrader.Cms.NPOI
{
    public class ExcelFile<T>
    {
        public ExcelFile() {
            this.FileDownloadName = $"{ this.FileDownloadName ?? DateTime.Now.ToString("yyyyMMddHHmmss")}.xlsx";
            this.IsSeq = false;
            this.Title = "";
        }

        public string FileDownloadName { get; set; }
        public string Title { get; set; }
        public bool IsSeq { get; set; }

        public IEnumerable<T> Data { get; set; }

        public List<string> Names { get; set; }
        
    }
}
